#!/usr/bin/env python -tt
# -*- coding: utf-8 -*-

class Teacher:
    '''
    the Teachers!!!!!!!!! duhhh
    '''
        
    def __init__(self, name, codeID, degree):
        self.__codeID = codeID
        self.__name = name
        self.__degree = degree
    pass
    
    def getNome(self):
        return self.__name
    pass
              
    def getCodeID(self):
        return self.__codeID
    pass

    def __str__(self):
        return self.__codeID + ', ' + str(self.__name)
    pass

pass

class Establishment():
    '''
    class to define establishment and it's type
    '''
    def __init__(self, eName, eType):
        self.__eName = eName
        self.__eType = eType
    pass

    def getEName(self):
        return self.__eName
    pass

    def getEType(self):
        return self.__eType
    pass
pass

class Course(Establishment):
    '''
    class to represent Courses, they are lectured at an establishment
    '''
    def __init__(self, csName, eName, eType):
        self.__csName = csName
        Establishment.__init__(self, eName, eType)
    pass

    def getCsName(self):
        return self.__csName
    pass
pass

class Category(Course):
    def __init__(self, catName, catReg, catYear, csName, eName, eType):
        self.__catName = catName
        self.__catReg = catReg
        self.__catYear = catYear
        Course.__init__(self, csName, eName, eType)
    pass

    def getCatName(self):
        return self.__catName
    pass

    def getCatReg(self):
        return self.__catReg
    pass

    def getCatYear(self):
        return self.__catYear
    pass
pass
